/*!
 * \file
 * \brief Generates a message.
 *
 * \section LICENSE
 * This file is under MIT license (https://opensource.org/licenses/MIT).
 */
#ifndef SCRAMBLER_PL_HPP_
#define SCRAMBLER_PL_HPP_

#include <vector>
#include <string>
#include <iostream>

#include "Module/Scrambler/Scrambler.hpp"

namespace aff3ct
{
namespace module
{

/*!
 * \class Scrambler_PL
 *
 * \brief Complex Scrambling for DVBS2 standard.
 *
 * \tparam D: type of the bits in the Scrambler_PL.
 *
 * Please use Scrambler_PL for inheritance (instead of Scrambler_PL).
 */
template <typename D = float>
class Scrambler_PL : public Scrambler<D>
{
protected:
	const int start_ix; /*!< Index of the frame at which scrambling must start */

public:
	/*!
	 * \brief Constructor.
	 *
	 * \param N :       frame size
	 * \param n_frames: number of frames to process in the Scrambler_PL.
	 * \param name:     Scrambler_PL's name.
	 */
	Scrambler_PL(const int N, const int start_ix, const int n_frames = 1);

	virtual Scrambler_PL<D>* clone() const;

protected:
	virtual void _scramble  (D *X_N1, D *X_N2,                const int frame_id);
	virtual void _descramble(D *Y_N1, D *Y_N2,                const int frame_id);
	virtual void __scramble (D *X_N1, D *X_N2, bool scr_flag, const int frame_id);

	const std::vector<int > PL_RAND_SEQ {
	0, 1, 1, 1, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3,
	1, 3, 1, 2, 2, 2, 2, 0, 0, 0, 1, 3, 3, 3, 2, 3,
	3, 3, 0, 2, 0, 1, 1, 3, 3, 2, 3, 1, 0, 3, 3, 0,
	3, 1, 2, 2, 3, 2, 0, 2, 0, 1, 0, 1, 3, 0, 0, 0,
	0, 2, 2, 1, 2, 2, 0, 0, 3, 0, 2, 3, 2, 1, 3, 2,
	3, 1, 2, 0, 2, 0, 1, 2, 2, 2, 2, 0, 0, 3, 2, 1,
	3, 2, 2, 2, 2, 1, 0, 1, 3, 0, 3, 1, 2, 1, 3, 3,
	0, 3, 0, 3, 2, 2, 0, 0, 3, 2, 2, 0, 0, 3, 0, 1,
	3, 2, 1, 3, 3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